#!/usr/bin/env python
# -*- coding:utf-8 -*-

import os, sys, re

def main():
    txtfile = open(sys.argv[1],'r')
    txt = txtfile.read()
    txt = re.sub('[¡!?¿@#\.,]','',txt).lower()
    txtfile.close()
    outfile = open(sys.argv[1] + ".out1", 'w')
    outfile.write(txt)
    outfile.close()

if __name__ == "__main__":
    main()

